package com.waijiaojun.tpo.service;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import java.util.List;
import com.waijiaojun.tpo.entity.QuestionCategory;
import com.waijiaojun.tpo.repository.QuestionCategoryDao;

@Service
public class QuestionCategoryService{

    @Resource
    private QuestionCategoryDao questionCategoryDao;

    public int insert(QuestionCategory pojo){
        return questionCategoryDao.insert(pojo);
    }

    public int insertSelective(QuestionCategory pojo){
        return questionCategoryDao.insertSelective(pojo);
    }

    public int insertList(List<QuestionCategory> pojos){
        return questionCategoryDao.insertList(pojos);
    }

    public int update(QuestionCategory pojo){
        return questionCategoryDao.update(pojo);
    }
}
